package com.wxlsoft.utils;
//package com.wxlsoft.extract.utils;
//
//import java.io.File;
//import java.io.IOException;
//import java.util.List;
//
//import com.alibaba.excel.EasyExcel;
//import com.alibaba.excel.support.ExcelTypeEnum;
//import com.alibaba.excel.write.builder.ExcelWriterBuilder;
//import com.alibaba.excel.write.style.column.LongestMatchColumnWidthStyleStrategy;
//import com.wxlsoft.extract.InterfaceManifest.SheetData;
//
//public class ExcelWriter {
//
//	/**
//	 * 写出数据
//	 * @param <T>
//	 * @param to
//	 * @param list
//	 * @throws IOException 
//	 */
//	public static <T> void write(String to, List<String> heads, List<SheetData> sheets) throws IOException {
//		FilesUtli.create(new File(to).toPath());
//		ExcelWriterBuilder toBuidler = EasyExcel.write(to)
//				.excelType(ExcelTypeEnum.XLSX)
//				.head
//		
//		
////			.head(heads);
////			.sheet(0, "测试用例")
////			.head(list.get(0).getClass())
////			.registerWriteHandler(new LongestMatchColumnWidthStyleStrategy())
////			.doWrite(list);
//	}
//	
//}
